package com.example.demoauthinternalservice;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

@RestController
//@CrossOrigin(value = "*")
public class MyServiceController {

    @GetMapping("/repository/{id}")
    public String getRepository(@PathVariable String id) {
        return "repository id : " + id;
    }

}
